package de.hdu.myjobapp.view.component;

import com.vaadin.ui.*;

import de.hdu.myjobapp.view.view.AbstractView;

/**
 * Default View for the Mainpage of the User
 * User specific Information can be loaded here
 * @author MTA
 *
 */
public class UserView extends AbstractView {

	private VerticalLayout layout;

	/**
	 * Method for creating Main User View after login.
	 */
	public UserView() {

		setHeight("100%");

		layout = new VerticalLayout();
		setCompositionRoot(layout);

		layout.setMargin(true);
		layout.setHeight("100%");

		// setStyleName("view");

		Panel panel = new Panel("Thank you for logging in.");
		panel.setSizeFull();

		panel.addComponent(new Label("Welcome to the user view. please select a channel from the menu."));

		layout.addComponent(panel);

	}

	/**
	 * Close method from AbstractView.
	 * 
	 * @see ui.AbstractView#close()
	 */
	protected void close() throws Exception {

	}

}
